/*
 * @Author: sea 
 * @Date: 2020-04-21 09:21:23 
 * @Last Modified by: sea
 * @Last Modified time: 2020-04-21 09:50:17
 */

 .sea-search{
    max-width: 640px;
    margin: 0 auto;
    background: #f8f8f8;
 }
 /* 搜索状态中，覆盖内容区 */
 .sea-search.on-focus{
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
 }
 .sea-header ~ .sea-content .sea-search.on-focus{
    top: 2.3rem;
 }
 .sea-tabbar ~ .sea-content .sea-search.on-focus{
    bottom: 2.5rem;
 }
 .sea-search > .sea-search-form{
    display: flex;
    height: 2.3rem;
 }
 .sea-search .sea-search-input{
    box-sizing: border-box;
    width: 100%;
    height: 1.6rem;
    border: none;
    font-size: 0.8rem;
    padding-left: 1.5rem;
    background: #fff;
    border-radius: 0.2rem;
 }
 .sea-search > .sea-search-form > .sea-search-wrapper{
    flex: 1;
    position: relative;
    padding: 0.5rem;
 }
 .sea-search > .sea-search-form > .sea-search-cancel{
    flex: 0 0 2.2rem; line-height: 2.3rem;
    padding-right: .5rem;
    text-align: center;
    font-size: .7rem;
    /* display: none; */
 }
 .sea-search.on-focus > .sea-search-form > .sea-search-cancel{
    display: block;
 }
 .sea-search .sea-search-icon{
    position: absolute;
    height: 0.8rem;
    line-height: 0.8rem;
    font-size: 0.7rem;
    left: 1rem;
    top: 0;
    bottom: 0;
    margin: auto;
    color: #000;
 }
 .sea-search .sea-search-clear{
   position: absolute;
   width: 0.8rem;
   height: 0.8rem;
   line-height: 0.8rem;
   font-size: 0.6rem;
   right: 1rem;
   top: 0;
   bottom: 0;
   margin: auto 0;
   border-radius: 50%;
   color: #fff;
   background: #ccc;
   display: none;
}
.sea-search.on-focus .sea-search-input:valid + .sea-search-clear{
   display: block;
}
.sea-search > .sea-search-suggest{
   display: none;
}

.sea-search.on-focus > .sea-search-suggest{
   display: block;
}

.sea-search > .sea-search-suggest > .sea-suggest-item{
   padding-left: 1rem;
   height: 2rem;
   line-height: 2rem;
   font-size: 0.8rem;
   background: #fff;
   border-bottom: 1px solid #eee;
   color: #333;
}